/* 确定版心 */
.w {
  width: 1240px;
  margin: 0 auto;
}

/* shortcut 模块 */
.shortcut {
  height: 52px;
  line-height: 52px;
  background-color: #333333;
}
.shortcut ul {
  float: right;
}
.shortcut li {
  float: left;
}
.shortcut li a {
  color: #dcdcdc;
  padding: 0 16px;
  border-right: 1px solid #666666;
}
.shortcut li:last-child a {
  border-right: 0;
}
.shortcut li:last-child a::before {
  display: inline-block;
  content: "";
  width: 11px;
  height: 16px;
  background: url(../images/sprites.png) -160px -70px;
  margin-right: 8px;

  /* 行内元素或者行内块元素的垂直对齐方式  */
  vertical-align: sub;
}
.shortcut li a:hover {
  color: #27ba9b;
}

/* 头部 header模块 */
.header {
  height: 70px;
  margin: 30px auto;
}
.header h1 {
  float: left;
  margin-left: 25px;
}
.header h1 a {
  display: block;
  width: 207px;
  height: 70px;
  background: url(../images/logo.png);
  background-size: 207px 70px;
  /* 隐藏官方名称 */
  text-indent: -999px;
  overflow: hidden;
}

/* 导航部分 */
.header .nav {
  float: left;
  /* 行高不仅可以让文本垂直居中，也可以撑大盒子的高度 */
  line-height: 70px;
  margin-left: 40px;
}
.header .nav li {
  float: left;
  margin-right: 48px;
}
.header .nav a {
  color: #333333;
  font-size: 16px;
  padding-bottom: 7px;
}
.header .nav a:hover {
  color: #27ba9b;
  border-bottom: 1px solid #27ba9b;
}

/* search部分 */
.search {
  position: relative;
  float: left;
  width: 172px;
  height: 30px;
  margin-top: 24px;
  margin-left: 34px;
}
.search input {
  width: 100%;
  height: 100%;
  border: 0;
  padding-left: 30px;
  border-bottom: 2px solid #e7e7e7;
  /* 清除input框获取焦点的边框 */
  outline: none;
}
.search i {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: url(../images/sprites.png) -80px -70px;
}

/* cart部分 */
.cart {
  position: relative;
  float: left;
  width: 23px;
  height: 23px;
  background: url(../images/sprites.png) -120px -70px;
  margin-top: 28px;
  margin-left: 15px;
}
.cart i {
  position: absolute;
  top: -6px;
  right: -12px;
  /* width: 20px; */
  height: 15px;
  background-color: #e26237;
  color: #fff;
  font-size: 13px;
  text-align: center;
  line-height: 15px;
  border-radius: 8px;
  padding: 0 4px;
}

/* footer模块 */
.footer {
  height: 343px;
  background-color: #333333;
}

/* 上半部分 服务 */
.serive .w {
  width: 1393px;
  height: 174px;
  border-bottom: 1px solid #434343;
}
.serive .w a {
  float: left;
  width: 33.33%;
  height: 100%;
  font-size: 28px;
  color: #fff;
  text-align: center;
  line-height: 173px;
}
.serive .w a::before {
  display: inline-block;
  content: "";
  width: 58px;
  height: 58px;
  background: url(../images/sprites.png) 0 0;
  vertical-align: middle;
  margin-right: 19px;
}
.serive .w a:nth-child(2)::before {
  background-position: -130px 0;
}
.serive .w a:nth-child(3)::before {
  background-position: -65px 0;
}

/* 下半部分 copyright */
.copyright {
  text-align: center;
}
.copyright p {
  margin-top: 40px;
}
.copyright p a {
  color: #999;
}
.copyright p span {
  color: #999;
  margin: 0 10px;
}
.copyright .xiao {
  color: #999;
  margin-top: 18px;
}
